package main

import . "github.com/lxn/walk/declarative"

func main() {
	mainWindow.Run()
}

var LableHello = Label{
	Text: "Hello world!",
}

var widget = []Widget{
	LableHello,
}
var mainWindow = MainWindow{
	Icon:    "boy.ico",
	Title:   "Window",
	MinSize: Size{400, 200},

	//排列方式VBox(垂直排列)、HBox(水平排列)
	Layout: VBox{},
	//	控件列表
	Children: widget,
}
